package edu.xaut.bookingsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

/**
 * InfoFixLog
 * 设备维护日志
 */
@Data
@TableName("LogDevKeep")
public class LogDevKeep {

    @TableId(value = "logKeepId", type = IdType.AUTO)
    private Long logKeepId;
    @TableField("roomId")
    private Integer roomId;
    @TableField("devId")
    private Integer devId;
    @TableField("teacherId")
    private Integer teacherId;
    @TableField("dateKeep")
    private LocalDate dateKeep; // 维护日期
    @TableField("messageKeep")
    private String messageKeep; // 维护日志


    @TableField(exist = false)
    private InfoDevRoom devRoom;//房间号
    @TableField(exist = false)
    private InfoDev infoDev;//计算机编号
    @TableField(exist = false)
    private InfoTeacher labTeacher;//管理员
}
